package com.px.chapter_Nov_1;

import java.util.Scanner;

/**
 *
 */
public  class FloatDemo_IntegerDemo{
    public static void main(String[] args) {
        float x = 0b10010000;
        double xx =3.6;
        String name ="20";
        double ni =3.6;
        char ji='k';
        if (xx==ni){
            System.out.println("dddff");
        }

        String jij ="ffff/bf fffdfdfdf"+'\t'+"dff dfdffd";
        System.out.println(jij);
        System.out.println(ji);
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入一个4位整数");
        int getnum=scanner.nextInt();
        int getnum_1=getnum%10;
        int getnum_2=getnum/10%10;
        int getnum_3=getnum/100%10;
        int getnum_4=getnum/1000;
        System.out.println("千位"+getnum_4+'\t'+"百位"+getnum_3+'\t'+"十位"+getnum_2+'\t'+"个位"+getnum_1+'\t');




    }
}